package com.myfojing.foshuoliaozhibingjing;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import android.webkit.WebSettings;
import android.webkit.WebView;

public class AboutActivity extends AppCompatActivity {

    WebView webView;
    WebSettings webSettings;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        setTitle("常见问题");

        // ui
        webView = (WebView) findViewById(R.id.webview_about);
        webSettings = webView.getSettings();
        webSettings.setJavaScriptEnabled(true);

        webView.loadUrl("file:///android_res/raw/about.html");
    }

    @Override
    protected void onStart() {
        super.onStart();

    }
}
